<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <input type="hidden" name="row[id]" value="{$Request.param.ids}">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage form-control" name="row[user_id]" type="text" value="{$row.user_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Usermeal')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_meal_id" data-rule="required" data-source="user/usermeal/index" data-field="meal_name" class="form-control selectpage form-control" name="row[user_meal_id]" type="text" value="{$row.user_meal_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ip')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ip" data-rule="required" class="form-control form-control" name="row[ip]" type="text" value="{$row.ip}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mask')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mask" data-rule="required" class="form-control form-control" name="row[mask]" type="text" value="{$row.mask}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gateway')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gateway" data-rule="required" class="form-control form-control" name="row[gateway]" type="text" value="{$row.gateway}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bandwidth')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bandwidth" data-rule="required" class="form-control form-control" step="0.01" name="row[bandwidth]" type="text" value="{$row.bandwidth}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dns')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dns" data-rule="required" class="form-control form-control" step="0.01" name="row[dns]" type="text" value="{$row.dns}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Expired')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-expired" class="form-control datetimepicker form-control" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[expired]" type="text" value="{$row.expired}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
